import React, {Component} from 'react'
import {Link} from 'react-router'
import '../sass/CarEmpty'

export default class CarEmpty extends Component {
  constructor() {
    super()
  }

  render() {
    return (
      <section>
        <div className="emptyCar">
          <img src={require('../images/carempty.png')} alt="carEmpty"/>
          <p>购物车空空,快去逛逛吧!</p>
          <Link className="link" activeClassName="active" to="/home">
              <span>去首页逛逛</span>
          </Link>
        </div>
      </section>
    )
  }
}
